﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Data.Database;
using Business.Entities;

namespace Negocio
{
    public class CursoLogic:BusinessLogic

    {
        Data.Database.CursoAdapter cursodata;
        public CursoLogic()
        {
            cursodata = new Data.Database.CursoAdapter();
        }

        public List<Curso> GetAll()
        {
            return cursodata.GetAll();
        }

        public Curso GetOne(int ID)
        {    return cursodata.GetOne(ID);
        }

        public void Save(Business.Entities.Curso AdmUsr)
        {
            cursodata.Save(AdmUsr);
        }

       /* public List<Curso> DameporPlan(int PlanID)
        {
            
        }*/
    }
}